<?php
namespace Home\Controller;
use Think\Controller;
class BbsController extends Controller {
    public function index(){
        $data=M('notice')->select();
       	$this->assign('list',$data);
       	$this->display('Bbs/Index');
    }   
}